//
//  NSString+time.h
//  com.Ofans
//
//  Created by wang on 15-4-13.
//  Copyright (c) 2015年 wang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (time)
//将时间戳转换成字符串@"YYYY-MM-dd HH:mm:ss"
- (NSString *)getMyFormatDateWithandFormat:(NSString *)format;

- (NSDate *)dateFromStringWithFormat:(NSString *)format;
//将时间戳转换成date
- (NSDate *)getMyFormatDate;
//- (NSString *)getMyTime;
@end
